<!DOCTYPE html>
<head>
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
	<!-- 微信强制清除缓存-->
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<meta charset="UTF-8">
	<link rel="stylesheet" href="../lib/css/bootstrap.min.css" />
	<link rel="stylesheet" href="../css/base.css" />
	<link rel="stylesheet" href="../css/order_list.css">
	<style>
	</style>
</head>
<body>
	<!--订单详情页面-->
	<!--茶卷兑换-->
	<div class="titleTea">
		<a href="myself.html">
			<span class="glyphicon glyphicon-menu-left"></span>
		</a>
		<h3>我的订单</h3>
	</div>
	<div class="areYouSure">
		<div class="headS">
			确定删除？
		</div>
		<div class="footS">
			<button class="sureS">确定</button>
			<button class="cancel">取消</button>
		</div>
	</div>
	<div class="payAgainDiv">
		<div>
			<input type="radio" name='pay_style' id="zfb"> <span>支付宝</span>
		</div>
		<div>
			<input type="radio" name='pay_style' id='wx'> <span>微信</span>
		</div>
		<button class="paySure">
		确定
		</button>
		<button class="payCancel">
	取消
		</button>
	</div>
	<!--订单详情-->
	<div class="allOrder">
		<!-- <div class="oneOrder">
						<div class="shopTitle border">
										<a href="#" class="shops">xxx商店</a>
										<span class="fr">删除</span>
						</div>
						<div class="goodsList border">
										<a href="#" class="goods">
														<div class="media">
																		<div class="media-left">
																						<img class="media-object" src="" alt="...">
																		</div>
																		<div class="media-body">
																						<h4 class="media-heading">shangpinming</h4>
																						<span class="price">￥100</span>
																						<span>X</span>
																						<span class="number">5</span>
																		</div>
														</div>
										</a>
						</div>
						<div class="orderServer">
										<span class="handle fr">支付</span>
										<span class="appraise fr">评价</span>
										<span class="sure fr">确认收货</span>
										<span class="seeDetail fr">查看详情</span>
						</div>
		</div> -->
	</div>
</body>
</html> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../lib/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../lib/js/bootstrap.min.js"></script>
<script src="../lib/template/template-native.js"></script>
<script type="text" id="order">
	<%for (var i = 0; i < order.sing.length; i++) {%>
	
		<div class="oneOrder" data-order_id=<%=order.sing[i][0].order_id%> data-parent_order_id=<%=order.sing[i][0].parent_order_id%>>
						<div class="shopTitle border">
											<a href="#" class="shops" data-pay_status=<%=order.sing[i][0].pay_status%> data-seller_id=<%=order.sing[i][0].seller_id%> ><%=order.sing[i][0].shop_name%></a>
											<span class="fr" data-order_id=<%=order.sing[i][0].order_id%>>删除</span>
						</div>
						<div class="goodsList border">
										<%for (var j = 0; j < order.sing[i].length; j++) {%>
											<a href="#" class="goods" data-goods_id=<%=order.sing[i][j].goods_id%>>
																<div class="media">
																					<div class="media-left">
																										<img class="media-object" src=<%=order.sing[i][j].goods_img%> alt="...">
																					</div>
																					<div class="media-body">
																										<h4 class="media-heading"><%=order.sing[i][j].goods_name%></h4>
																										<span class="price">￥<%=order.sing[i][j].goods_price%></span>
																										<span class="number fr">X<%=order.sing[i][j].goods_number%></span>
																					</div>
																</div>
											</a>
										<%}%>
						</div>
						<div class="orderServer">
										<%if (order.sing[i][0].order_status==5&&order.sing[i][0].pay_status==2&&order.sing[i][0].shipping_status==2) {%>
												<span class="appraise fr bred tred bred" style="display:none;">评价</span>
											<%}else if((order.sing[i][0].order_status==1&&order.sing[i][0].pay_status==2&&order.sing[i][0].shipping_status==0)||(order.sing[i][0].order_status==5&&order.sing[i][0].pay_status==2&&order.sing[i][0].shipping_status==1)){%>
												<span class="sure fr bred tred bred">确认收货</span>
											<%}else if(order.sing[i][0].order_status==1&&order.sing[i][0].pay_status==0&&order.sing[i][0].shipping_status==0){%>
																			<span class="cancelList fr bred tred bred">取消订单</span>
											<%}else if(order.sing[i][0].order_status==2&&order.sing[i][0].pay_status==0&&order.sing[i][0].shipping_status==0){%>
											<span class="handle fr">已取消</span>
											<%}else if(order.sing[i][0].order_status==0&&order.sing[i][0].pay_status==0&&order.sing[i][0].shipping_status==0){%>
											<span class="payAgain fr tred bred">支付</span>
												<%}%>
											<span class="seeDetail fr" >查看详情</span>
						</div>
		</div>
	<%}%>
</script>
<script src="../script/order_list.js"></script>
<script src="../script/rem.js"></script>